package com.net355.eblog.util;

import java.io.Serializable;

public class ExecuteResult implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2172436247963814124L;
	private boolean isTrue;
	private String message;
	private Object tag;

	/**
	 * 运行结果
	 * 
	 * @param isTrue
	 * @param message
	 * @param tag
	 */
	public ExecuteResult(boolean isTrue, String message, Object tag) {
		this.setIsTrue(isTrue);
		this.setMessage(message);
		this.setTag(tag);
	}

	/**
	 * 运行结果
	 * 
	 * @param isTrue
	 * @param message
	 */
	public ExecuteResult(boolean isTrue, String message) {
		this.setIsTrue(isTrue);
		this.setMessage(message);
	}

	public boolean getIsTrue() {
		return isTrue;
	}

	public void setIsTrue(boolean isTrue) {
		this.isTrue = isTrue;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getTag() {
		return tag;
	}

	public void setTag(Object tag) {
		this.tag = tag;
	}
}
